<style>
	.contianner{
		width: 80%;
		margin: auto;
	}
	#card_history{
		height: 600px;
		border: 1px solid black;
	}
</style>
<div class="contianner">
	<button type="button" class="btn btn-default" onclick="go_new_card()">New Card</button>
	<br>
	<button type="button" class="btn btn-default">Remove</button>
	<div id="card_history">
		History
	</div>
	
	<script type="text/javascript">
		function go_new_card(){
			var url = "<?php echo Yii::app()->baseUrl.'/index.php/card/newCard'; ?>";

			window.location = url;
		}
	</script>
</div>